﻿using SqlSugar;

namespace JT808Gateway.Data.Entity
{
    [SugarTable("ForwardingServerBindings", "gwdata")]
    public class ForwardingServerBinding
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public string SimNumber { get; set; }

        public int? ServerId { get; set; }

        public bool Enabled { get; set; }

        /// <summary>
        /// 导航属性
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public ForwardingServer ForwardingServer { get; set; }
    }
}